package com.framework.repository;

import com.framework.entity.Menu;
import com.framework.entity.Role;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.UUID;

/**
 * @Description: Role表实体
 * @Author: JamesYao
 * @DateTime: 2024/2/19 17:06
 */
public interface RoleRepository extends JpaRepository<Role, UUID> {
    Role findByName(String name);
}
